package com.example.logistics_oa.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.comment_oa.pojos.JobMakeoffer;
import com.example.comment_oa.pojos_vo.JibenSalaryChaXunVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 安徽彭于晏
* @description 针对表【job_makeoffer】的数据库操作Service
* @createDate 2022-10-17 08:45:03
*/
@Service
public interface JobMakeofferService extends IService<JobMakeoffer> {
    public List<JobMakeoffer> selectAll(@Param("JibenSalaryChaXunVo") JibenSalaryChaXunVo jibenSalaryChaXunVo);


    public int updateGangWeiJinTie(@Param("jmoJobsalary") Double jmoJobsalary,@Param("jmoId") int jmoId );



    public int updateMinSalary(@Param("jmoMinsalary") Double jmoMinsalary,@Param("jmoId") int jmoId );

    public int updateMaxSalary(@Param("jmoMaxsalary") Double jmoMaxsalary,@Param("jmoId") int jmoId );

    public int updateMaxAndMin(@Param("jmoMaxsalary") Double jmoJobsalary,@Param("jmoMinsalary") Double jmoMinsalary,@Param("jmoId") int jmoId );

    public List<JobMakeoffer> selectGangWeiJinTie(@Param("jmoDepartmentid") int jmoDepartmentid,@Param("jmoJobid") int jmo_jobid);


    public List<JobMakeoffer> selectMaxAndMinByZhiwuId(@Param("jmoJobid") int jmoJobid);
}
